package com.itg.vms.service;

import com.itg.vms.entity.Movies;

import java.util.List;

public interface CollectMoviesService {

    /**
     * 收藏影片业务
     * @param userId
     * @param movieId
     * @return
     */
    boolean addCollectMovies(Long userId,Long movieId,String username);

    /**
     * 查询收藏影片业务
     * @param userId
     * @return
     */
    List<Movies> selectAllCollectMovies(Long userId);

    /**
     * 删除影片业务
     * @param userId
     * @param movieId
     * @return
     */
    boolean deleteCollectMovies(Long userId,Long movieId);
}
